Open WebUIEnvironment requirementsDocker constructionOfficial installation of DockerInstall Docker on Alibaba CloudOpen WebUI installationOpen WebUI operationAdministrator accountRegister and log inUser interfaceModel dialogueSwitch modelDemo: LLaVAFrequently Asked QuestionsClose Open WebUICommon ErrorsUnable to start Open WebUIService connection timeout
Demo Environment
Development board: Jetson Orin series motherboard
SSD: 128G
Tutorial Applicability
| Motherboard model | Support |
|---|---|
| Jetson Orin NX 16GB | √ |
| Jetson Orin NX 8GB | √ |
| Jetson Orin Nano 8GB | √ |
| Jetson Orin Nano 4GB | √ |
Open WebUI is an open source project that aims to provide an easy-to-use user interface (UI) for managing and monitoring open source software and services.
xxxxxxxxxxWhen using Open WebUI, there is a high probability that the dialogue will be unresponsive or timeout. You can try to restart Open WebUI or switch to the Ollama tool to run the model!
Host and Conda installation of Open WebUI: Node.js >= 20.10, Python = 3.11:
| Environment construction method | Difficulty (relatively) |
|---|---|
| Host | High |
| Conda | Medium |
| Docker | Low |
Tutorial demonstrates Docker installation of Open WebUI.
If Docker is not installed, you can use the script to install Docker in one click.
xxxxxxxxxxDomestic users may not be able to install Docker through official methods. We recommend using Alibaba Cloud to install Docker or using our image directly.
xxxxxxxxxxsudo apt update
xxxxxxxxxxsudo apt upgrade
Download the get-docker.sh file and save it in the current directory.
xxxxxxxxxxsudo apt install curl
xxxxxxxxxxcurl -fsSL https://get.docker.com -o get-docker.sh
Use sudo privileges to run the get-docker.sh script file.
xxxxxxxxxxsudo sh get-docker.sh
If you cannot install it yourself, please use the image we provide.
xxxxxxxxxxsudo apt update
xxxxxxxxxxsudo apt install apt-transport-https ca-certificates curl gnupg2 lsb-release software-properties-common
xxxxxxxxxxcurl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
xxxxxxxxxxecho "deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://mirrors.aliyun.com/docker-ce/linux/ubuntu bionic stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
xxxxxxxxxxsudo apt updatesudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin
For systems with Docker installed, you can directly enter the following command in the terminal: The image is the result of the pull
xxxxxxxxxxsudo docker pull ghcr.io/open-webui/open-webui:main

Enter the following command in the terminal to start the specified Docker:
xxxxxxxxxxsudo docker run --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main

After successful startup, use the following URL to access in the browser:
xxxxxxxxxxhttp://localhost:8080/
For the first time, you need to register an account yourself. This account is an administrator account. You can fill in the information as required!
xxxxxxxxxxSince all the contents of our mirror have been set up and tested, users can log in directly using our registered account:Username: adminEmail: admin@qq.comPassword: admin



Since we have already registered: admin account, just log in directly!

Using Open WebUI for dialogue will be slower than using the Ollama tool directly, and may even cause timeout service connection failure. This is related to the memory of Jetson Nano and cannot be avoided!
xxxxxxxxxxUsers with ideas can switch to other Linux environments to build Ollama tools and Open WebUI tools for dialogue
Click Select a model to select a specific model for dialogue.
xxxxxxxxxxThe model pulled using ollama will be automatically added to the Open WebUI model option. Refresh the webpage and the new model will appear!

The LLaVA case demonstrated requires 8G or more to run. Users can use other cases to test the Open WebUI dialogue function!
xxxxxxxxxxWhat's in this image?

Close the self-starting Open WebUI.
xxxxxxxxxxdocker ps
xxxxxxxxxxdocker stop [CONTAINER ID] # Example docker stop 5f42ee9cf784
xxxxxxxxxxdocker ps -a
xxxxxxxxxxdocker rm [CONTAINER ID] # Example docker rm 5f42ee9cf784
Clean up all stopped containers:
xxxxxxxxxxdocker container prune
Solution: Close Open WebUI once and restart!
Close Open WebUI once and restart, then ask again or run the model with the Ollama tool to ask!